﻿using System;
using System.Collections.Generic;
using Orange.Mvc4App.Models;
using System.Linq;
using System.Linq.Expressions;

namespace Orange.Mvc4App.Services {

    public interface IBaseService<T> {
        IList<T> GetList(Func<T, bool> filters);
        T Find(params object[] keys);
        void Add(T model);
        void Update(T model);
        void Delete(T model);
        void Dispose();
        void Save();
    }
}
